package cn.sumpu.app.guoguojie.domain;

import java.io.Serializable;
import java.util.Date;

import cn.sumpu.app.guoguojie.util.Common;

public class Message implements Serializable {

    public Message(){
        
    };
	public Message(String identifier, String content, String receiveMember) {
		this.identifier = identifier;
		this.content = content;
		this.receiveMember = receiveMember;
	}

	private static final long serialVersionUID = 3119640622478651067L;

	private String identifier;
	private String sendMember;
	private String receiveMember;
	private String title;
	private String type;
	private String content;
	private Boolean isRead;
	private String replyMessageId;
	private Date gmtCreated;
	private Date gmtModified;



	public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getSendMember() {
        return sendMember;
    }

    public void setSendMember(String sendMember) {
        this.sendMember = sendMember;
    }

    public String getReceiveMember() {
        return receiveMember;
    }

    public void setReceiveMember(String receiveMember) {
        this.receiveMember = receiveMember;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Boolean getIsRead() {
        return isRead;
    }

    public void setIsRead(Boolean isRead) {
        this.isRead = isRead;
    }

    public String getReplyMessageId() {
        return replyMessageId;
    }

    public void setReplyMessageId(String replyMessageId) {
        this.replyMessageId = replyMessageId;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getLastDate() {
		return Common.getDate(gmtCreated);
	}
}
